package com.seekting.kotlinaptanno;

import com.qihoo.mm.annolib.StatKeyAlias;

/**
 * Created by zhangshimin on 2016/3/25.
 */
public class StatKey {

    private static final int STATISTIC_BASE = 10000;
    private static final int STATISTIC_BASEINFO_BASE = STATISTIC_BASE + 0; // 基础统计
    private static final int STATISTIC_POWER_SAVE_BASE = STATISTIC_BASE + 1000; //超级省电
    private static final int STATISTIC_GP_SCORE_BASE = STATISTIC_BASE + 4000; //GP评分
    private static final int STATISTIC_FLOATWINDOW_BASE = STATISTIC_BASE + 3000; //充电屏保、悬浮窗
    private static final int STATISTIC_SETTING_BASE = STATISTIC_BASE + 5000; //设置、更多
    private static final int STATISTIC_FINISH_PAGE_BASE = STATISTIC_BASE + 6000; //完成页
    private static final int STATISTIC_APPFLYER_BASE = STATISTIC_BASE + 21000; //appsflyer
    private static final int STATISTIC_FUNCTION_BASE = STATISTIC_BASE + 11000; //功能数据
    private static final int STATISTIC_PROMOTION_BASE = STATISTIC_BASE + 22000; //推广相关


    /**
     * GP评分 START
     */
    public static final int STATISTIC_GP_SCORE_SHOW_ONETAP = STATISTIC_GP_SCORE_BASE + 1;//一键省电-评分弹窗-展示次数
    public static final int STATISTIC_GP_SCORE_SHOW_AUTOSTART = STATISTIC_GP_SCORE_BASE + 2;//关自启-评分弹窗-展示次数
    public static final int STATISTIC_GP_SCORE_SHOW_PEERGROUP = STATISTIC_GP_SCORE_BASE + 3;//关唤醒-评分弹窗-展示次数
    public static final int STATISTIC_GP_SCORE_CLICK_ONETAP = STATISTIC_GP_SCORE_BASE + 4;//一键省电-去评五星-点击次数
    public static final int STATISTIC_GP_SCORE_CLICK_AUTOSTART = STATISTIC_GP_SCORE_BASE + 5;//关自启-去评五星-点击次数
    public static final int STATISTIC_GP_SCORE_CLICK_PEERGROUP = STATISTIC_GP_SCORE_BASE + 6;//关唤醒-去评五星-点击次数
    /**GP评分 END*/

    /**
     * 设置 START
     */
    public static final int STATISTIC_SETTING_CLICK_SWITCH_LANGUAGE = STATISTIC_SETTING_BASE + 3;//切换语言
    public static final int STATISTIC_SETTING_CLICK_UPDATE_BUTTON = STATISTIC_SETTING_BASE + 7;//升级按钮--侧边栏-设置
    public static final int STATISTIC_SETTING_CLICK_USR_EXPERIENCE = STATISTIC_SETTING_BASE + 8;//用户体验计划开关
    public static final int STATISTIC_SETTING_CLICK_ABOUT = STATISTIC_SETTING_BASE + 9;//关于
    public static final int STATISTIC_SETTING_FEEDBACK_SUCCESS = STATISTIC_SETTING_BASE + 204;//点击反馈成功次数 首页-更多
    /**
     * 设置 END
     */

    public static final int STATISTIC_FUNCTION_HELLO_RECEIVED = STATISTIC_FUNCTION_BASE + 34;//收到其他应用发来的保活广播
    /**
     * appsflyer START
     */
    public static final int STATISTIC_APPFLYER_ENTERAPP = STATISTIC_APPFLYER_BASE + 1;//应用打开次数
    public static final int STATISTIC_APPFLYER_REG = STATISTIC_APPFLYER_BASE + 2;//应用使用人数
    /**appsflyer END*/

    /**
     * 推广相关的打点
     */
    public static final int REFERRER_CONTENT = STATISTIC_PROMOTION_BASE + 1;
    public static final int DUPLICATE_REFERRER_RECEIVED = STATISTIC_PROMOTION_BASE + 2;

    /**
     * 基础相关统计
     */
    // 屏幕分辨率
    public static final int STATISTIC_BASEINFO_SCREEN_PIXELS = STATISTIC_BASEINFO_BASE + 1;
    // 内存
    public static final int STATISTIC_BASEINFO_MEMORY = STATISTIC_BASEINFO_BASE + 2;
    // CPU核
    public static final int STATISTIC_BASEINFO_CPU = STATISTIC_BASEINFO_BASE + 3;
    // 磁盘空间占用百分比
    public static final int STATISTIC_BASEINFO_SPACE = STATISTIC_BASEINFO_BASE + 4;
    // 执行安装时，非GP安装（暂时定义为APK安装）时，进行一次功能上报
    public static final int STATISTIC_BASEINFO_PACKAGE_SOURCE = STATISTIC_BASEINFO_BASE + 7;
    // 打开主界面的次数
    public static final int STATISTIC_BASEINFO_ENTER_MAIN = STATISTIC_BASEINFO_BASE + 9;
    // splash
    public static final int STATISTIC_BASEINFO_ENTER_SPLASH = STATISTIC_BASEINFO_BASE + 10;
    // 悬浮窗的点击的次数
    public static final int STATISTIC_BASEINFO_CLICK_FLOAT = STATISTIC_BASEINFO_BASE + 11;
    // 常驻通知栏加速按钮的点击的次数
    public static final int STATISTIC_BASEINFO_CLICK_NOTIFY_OPTIMZE = STATISTIC_BASEINFO_BASE + 12;
    // 是否root
    public static final int STATISTIC_BASEINFO_ISPHONEROOTED = STATISTIC_BASEINFO_BASE + 13;
    // 从快捷方式进入
    public static final int STATISTIC_BASEINFO_SHORTCUT = STATISTIC_BASEINFO_BASE + 14;

    //成功反馈
    @StatKeyAlias(fireBaseName = "rate_feedback_successfully",appsflyerName = "rate_feedback_successfully")
    public static final int STATISTIC_RATE_FEEDBACK_SUCCESSFULLY = STATISTIC_GP_SCORE_BASE + 14;
    @StatKeyAlias(fireBaseName = "feedback_image_delete",appsflyerName = "feedback_image_delete")
    public static final int STATISTIC_FEEDBACK_IMAGE_DELETE = STATISTIC_GP_SCORE_BASE + 15;
    @StatKeyAlias(fireBaseName = "FEEDBACK_IMAGE_ADD",appsflyerName = "FEEDBACK_IMAGE_ADD")
    public static final int STATISTIC_FEEDBACK_IMAGE_ADD = STATISTIC_GP_SCORE_BASE + 16;
    public static final int STATISTIC_FEEDBACK_IMAGE_UPLAOD = STATISTIC_GP_SCORE_BASE + 16;


}
